package com.scalar.forecast.projectSetup;

import java.util.ArrayList;

/**
 * Created by Veeru.
 * Date: Oct 10, 2005
 * Time: 5:44:11 PM
 */

public class ReplacePartNumber {

    private boolean selected           = false;
    private int originalPartNumberId   = 0;
    private int replacingPartNumberId     = 0;
    private String  originalPartNumber = null;
    private String  replacingPartNumber = null;

    private ArrayList availablePartNumbers = new ArrayList();

    public ReplacePartNumber(boolean selected, int selectedPartNumberId, int mappedPartNumberId, String selectedPartNumber) {
        this.selected = selected;
        this.originalPartNumberId = selectedPartNumberId;
        this.replacingPartNumberId = mappedPartNumberId;
        this.originalPartNumber = selectedPartNumber;
    }

    public boolean getSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public int getOriginalPartNumberId() {
        return originalPartNumberId;
    }

    public void setOriginalPartNumberId(int originalPartNumberId) {
        this.originalPartNumberId = originalPartNumberId;
    }

    public String getOriginalPartNumber() {
        return originalPartNumber;
    }

    public void setOriginalPartNumber(String originalPartNumber) {
        this.originalPartNumber = originalPartNumber;
    }

    public int getReplacingPartNumberId() {
        return replacingPartNumberId;
    }

    public void setReplacingPartNumberId(int replacingPartNumberId) {
        this.replacingPartNumberId = replacingPartNumberId;
    }

    public String getReplacingPartNumber() {
        return replacingPartNumber;
    }

    public void setReplacingPartNumber(String replacingPartNumber) {
        this.replacingPartNumber = replacingPartNumber;
    }

    public ArrayList getAvailablePartNumbers() {
        return availablePartNumbers;
    }

    public void setAvailablePartNumbers(ArrayList availablePartNumbers) {
        this.availablePartNumbers = availablePartNumbers;
    }
}
